import Vue from 'vue'
import Router from 'vue-router'
// import Hello from '@/components/Hello'
import Test from '@/components/test/test'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'Hello',
    //   component: Hello
    // },
    {
      path: '/',
      redirect: '/pages/'
    },
    {
      path: '/test',
      name: 'test',
      component: Test
      // component: require('@/components/test/test.vue')
    }

  ]
})
